var userDao = require('../dao/userDAO')

function login(user,callback) {

    var isSuccess=   userDao.query(user);

  // return isSuccess;
   callback(isSuccess);

}

module.exports ={
  login
}
